import { createStore, createLogger } from 'vuex'
import user from './modules/user'
import common from './modules/common'
import { isDev } from '@/utils'

export default createStore({
  state: {
  },
  mutations: {
  },
  actions: {
  },
  modules: {
    user,
    common
  },
  plugins: isDev ? [createLogger()] : []
})
